package com.gm.app.data;

import javax.persistence.TypedQuery;

import com.gm.app.model.Country;

public class CountryDAO extends PlaceDAO {

	private static CountryDAO dao = null;

	public static CountryDAO get() {
		if (dao == null) {
			dao = new CountryDAO();
		}
		return dao;
	}

	public static TypedQuery<Country> search(String description) {
		return CountryDAO.get().search(description, Country.class);
	}

}
